﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace SceneManager.Processors
{
    public class ScaleProcessor : EffectProcessor
    {
        public int Width { get; set; }
        public int Height { get; set; }

        public ScaleProcessor(Game game, int width, int height) : base(game, "Shaders/Common/Scale")
        {
            Width = width;
            Height = height;

            Outputs.Clear();
            Outputs.Add("Output", new RenderTarget2D(Game.GraphicsDevice, Width, Height, false, SurfaceFormat.Color, DepthFormat.None));
        }
    }
}
